package w2;

import java.util.Scanner;
// #include <stdio.h>


public class Lt1 {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("input a double:");
		double d = in.nextDouble();
		System.out.println("d = " + d);
		System.out.printf("d = %3.3f\n", d);
		
		System.out.println("input a int:");
		int i  = in.nextInt();
		System.out.println("i = " + i);
		
		System.out.println("input a string:");
		String s = in.next();
		System.out.println("s = " + s);
		
	}

}
